<div class="user-profile" style="background: url(__UIROOT__/images/background/user-info.jpg) no-repeat;">
    <!-- User profile image -->
    <div class="profile-img"> <img src="{:$user->headimg()}" alt="user" /> </div>
    <!-- User profile text-->
    <div class="profile-text"> <a href="#" class="dropdown-toggle u-dropdown" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="true">{:$user->get("nickname")}</a>
        <div class="dropdown-menu animated flipInY">
          <a href="/admin/profile/index" class="dropdown-item"><i class="ti-user"></i> My Profile</a>
          <!-- <a href="#" class="dropdown-item"><i class="ti-wallet"></i> My Balance</a>
          <a href="#" class="dropdown-item"><i class="ti-email"></i> Inbox</a> -->
          <div class="dropdown-divider"></div>
          <a href="/admin/profile/index#password" class="dropdown-item"><i class="ti-settings"></i> Account Setting</a>
          <div class="dropdown-divider"></div>
          <a href="/admin/login/logout" class="dropdown-item"><i class="fa fa-power-off"></i> Logout</a> </div>
    </div>
</div>
